﻿<div id="tb">
    <table cellpadding="0" cellspacing="0" style="width: 100%">
        <tr>
            <td>
                <a href="#" class="easyui-linkbutton" iconcls="iconfont iconfont-dianji" plain="true" onclick="selectRow()">选择</a>
            </td>
        </tr>
    </table>
</div>
<table id="mf_grid" class="easyui-datagrid" rownumbers="true" fit="true" pagination="true" fitcolumns="true" striped="true" border="false"
       url="getlist" autorowheight="false" singleselect="true" toolbar="#tb" data-options="">
    <thead>
        <tr>
            <th data-options="field:'ck',checkbox:true"></th>
            <th field="Name" width="100" halign='center'>
                名称
            </th>
            <th field="Url" width="500" halign='center'>
                Url
            </th>
            <th field="From" width="50" halign='center' align="center">
                来源
            </th>
        </tr>
    </thead>
</table>
<script>
    addGridBtn('mf_grid', 'Name', { JustShowLinkText:false,
        onButtonClick: function (row, index) {
            openWindow(row.Url);
        }
    });
</script>

